FROM mysql:8.0.20

MAINTAINER proj(wangiegie@gmail.com)

ENV TZ=Asia/Shanghai

RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

COPY ./1schema.sql /docker-entrypoint-initdb.d

COPY ./2projx.sql /docker-entrypoint-initdb.d

COPY ./3projx_ac.sql /docker-entrypoint-initdb.d

COPY ./4projx_job.sql /docker-entrypoint-initdb.d

COPY ./5projx_mp.sql /docker-entrypoint-initdb.d

COPY ./6projx_config.sql /docker-entrypoint-initdb.d

COPY ./7projx_pay.sql /docker-entrypoint-initdb.d

COPY ./8projx_codegen.sql /docker-entrypoint-initdb.d